LEADTOOLS Medical (Leadtools.Medical3D assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
BeginInvoke(Delegate,Object[]) Method
See Also 
Leadtools.Medical3D Namespace > Medical3DControl Class > BeginInvoke Method : BeginInvoke(Delegate,Object[]) Method



method
A delegate to a method that takes parameters of the same number and type that are contained in the args parameter.
args
An array of objects to pass as arguments to the given method. This can be null if no arguments are needed.
method
A delegate to a method that takes parameters of the same number and type that are contained in the args parameter.
args
An array of objects to pass as arguments to the given method. This can be null if no arguments are needed.
Executes the specified delegate asynchronously with the specified arguments, on the thread that the control's underlying handle was created on.

Syntax

Visual Basic (Declaration) 
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Overloads Public Function BeginInvoke( _
   ByVal method As Delegate, _
   ByVal ParamArray args() As Object _
) As IAsyncResult
Visual Basic (Usage)Copy Code
Dim instance As Medical3DControl
Dim method As Delegate
Dim args() As Object
Dim value As IAsyncResult
 
value = instance.BeginInvoke(method, args)
C# 
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public IAsyncResult BeginInvoke( 
   Delegate method,
   params object[] args
)
C++/CLI 
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public:
IAsyncResult^ BeginInvoke( 
   Delegate^ method,
   ... array<Object^>^ args
) 

Parameters

method
A delegate to a method that takes parameters of the same number and type that are contained in the args parameter.
args
An array of objects to pass as arguments to the given method. This can be null if no arguments are needed.

Return Value

An System.IAsyncResult that represents the result of the System.Windows.Forms.Control.BeginInvoke(System.Delegate) operation.

Exceptions

ExceptionDescription
System.InvalidOperationExceptionNo appropriate window handle can be found.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical3D requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features